<?php

namespace App\Models\CarModels;

use App\Models\Api\Files;
use Illuminate\Database\Eloquent\Model;
class CarInsuranceRecordBill extends Model
{


    protected $table = 'car_insurance_record_bills';
    protected $fillable = ['kind','amount','number','rate','nonbill_amount','tax','total','record_id'];

    function images()
    {
        return $this->hasMany(CarInsuranceRecordBillFile::class,'bill_id')->with('files');
    }
}
